
import request from '@/utils/request.ts';
export function getUsers(params) {
    return request({
        method: 'GET',
        url: `api/v1/community/users`,
        data: {
            ...params
        }
    });
}

// 个人文章
export function getArticles(params) {
    return request({
        method: 'GET',
        url: `api/v1/community/users/articles`,
        params
    });
}

export function getSpider(params) {
    return request({
        method: 'GET',
        url: `api/v1/community/users/spider`,
        params
    });
}

export function getSingleArticles(params) {
    return request({
        method: 'GET',
        url: `api/v1/community/users/delete/singleArticles`,
        params
    });
}

// 更新评论
export function getSpiderComment(params) {
    return request({
        method: 'POST',
        url: `api/v1/community/users/spiderComment`,
        data: {
            ...params
        }
    });
}